package com.example.rdb.handle.mysql.write;



import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface BiWriteMapper {

    Integer batchBiInsertData(@Param("tableName") String tableName, @Param("cols") Set<String> cols, @Param("data") List<Map<String,Object>> data);

    Integer getBiDatabaseNum(@Param("tableName") String tableName, @Param("id") String id);

    Integer deleteDataByAppId(@Param("appId") String appId);

}